<!--
 * @Description: 
 * @version: 
 * @Author: 尹鹏孝
 * @Date: 2022-01-13 08:41:19
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2022-01-13 08:41:20
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>题目</title>
</head>

<body>
    <script>
        // 给定一个链表，返回链表开始入环的第一个节点。 如果链表无环，则返回 null。
        var value = 1;
        Object.defineProperty(window, "a", {
            get() {
                return this.value++;
            }
        });
        if (a === 1 && a === 2 && a === 3) {
            console.log('输出：', a);
        }


    </script>

</body>

</html>